package com.eden.manage.dto.agent;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import eden.api.common.enums.AccountTypeEnum;
import eden.api.common.enums.AgentLevelEnum;
import eden.api.common.enums.CalTypeEnum;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class AgentInviteDto {


    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;


    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;

    private Long platId;

    private Long agentId;

    private String agentName;

    private String platName;

    private String inviteCode;

    private Integer status;




}
